﻿<UserControl x:Class="QuailDashboard.View.Controls.ProcessingModalControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Controls="clr-namespace:QuailDashboard.View.Controls" 
    Width="400" Height="300">

    <Grid x:Name="LayoutRoot" Background="Transparent" Loaded="LayoutRoot_Loaded" >

        <Grid x:Name="processingModal" >

            <Rectangle  Style="{StaticResource ModalBackground}"  />
            <Border x:Name="borderBorder" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" Padding="5" CornerRadius="5" 
				Background="White" BorderBrush="LightGray" BorderThickness="1" Height="112" RenderTransformOrigin="0.5,0.5">
                <Border.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </Border.RenderTransform>
                <Border.Effect>
                    <DropShadowEffect />
                </Border.Effect>
                <StackPanel Orientation="Vertical" >
                    <Controls:LoadingAnimation Margin="0,10,-25,0" HorizontalAlignment="Right" />
                    <TextBlock x:Name="txtText" 
                               Foreground="Gray" 
                               FontSize="9"  TextAlignment="Center" Margin="0,-57,0,29" VerticalAlignment="Center"/>
                </StackPanel>
            </Border>
        </Grid>

    </Grid>

</UserControl>
